import moment from "moment/moment";
import Vue from "vue";
Vue.filter('articleTime',(data)=>{
  moment.locale("zh-cn"); 
 return moment(data, "YYYYMMDD").fromNow();
})